package cc.admin.modules.sys.controller;


import cc.admin.common.api.vo.Result;
import cc.admin.modules.sys.service.IMyDutyService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * 我的职责
 */
@RestController
@RequestMapping("/sys/myDuty")
@Slf4j
public class MyDutyController {

    @Autowired
    private IMyDutyService myDutyService;



    @RequestMapping("/selectMyDuty")
    public Result<?> selectMyDuty() {
        Map<String,Object> map= myDutyService.selectMyDuty();
        return Result.ok(map);
    }


}
